
<script type="text/javascript">
	var goToUrl = function(url){
		setTimeout(function(){window.location.href=url},1)
	};
	var Top_Path = {webRoot:"",topParam:"index"};

</script>
<script type="text/javascript" src="__TMPL__Public/assets/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="__TMPL__Public/assets/js/top.js"></script>
<script type="text/javascript" src="__TMPL__Public/assets/js/addFavorite.js"></script>
<!--header-->
<div class="header">
	<div class="topBg">
		<div class="h-top">
			<div class="welcome">

				您好，<a class="cur user-nicename" href="{:U('product/member/index')}"></a>欢迎来到致科药品信息网！
                <span class="logout" style="display: none;">[<a href="{:U('user/index/logout')}" title="退出">退出</a>]</span>
				<span class="user_nologin" style="display: none;">
				[<a class="cur" href="{:leuu('user/login/index')}" title="登录">登录</a>]
				[<a href="{:leuu('user/register/index')}" title="新用户注册">注册</a>]
				</span>
			</div>
			<ul class="topR">
				<p style="margin: 3px"> {$site_setting.site_top}</p>
				<div class="clear"></div>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div class="h-btm">
		<div class="logo frameEdit" frameinfo="logo|350X115">
			<a href="/" title="致科药品信息网" target="_blank"><img src="{:sp_get_image_preview_url($site_setting['logo'])}" width="350"  alt="致科药品信息网" title=" " border="0"></a></div>
		<div class="search-box">
			<form id="searchForm" action="/" method="get">
				<div class="form">
                    <input type="hidden" name="g" value="product"/>
                    <input type="hidden" name="m" value="list"/>
                    <input type="hidden" name="a" value="index"/>
					<input class="put" type="text" id="searchFields" name="keyword" placeholder="请输入关键字：药品名称">
					<div class="search-btn"><a href="$('#searchForm').submit();">搜索</a></div>
					<div class="clear"></div>
				</div>
			</form>
			<ul class="hotFont">
				<p>热门搜索：</p>
				<li>
					<a href="{:U('product/list/index',array('keyword'=>'碳酸钙'))}" title="碳酸钙" class="cur">碳酸钙</a>
					<a href="{:U('product/list/index',array('keyword'=>'感冒颗粒'))}" title="感冒颗粒">感冒颗粒</a>
					<a href="{:U('product/list/index',array('keyword'=>'五子衍宗丸'))}" title="五子衍宗丸">五子衍宗丸</a>
					<a href="{:U('product/list/index',array('keyword'=>'抗病毒口服液'))}" title="抗病毒口服液">抗病毒口服液</a>
					<a href="{:U('product/list/index')}" title=""></a>
				</li>
				<div class="clear"></div>
			</ul>
		</div>
		<div class="btm-r frameEdit" frameinfo="top_tel_adv|300X80">
			<div class="pic">
			</div>
		</div>
		<div class="clear"></div>
	</div>
</div>

<!--menu-->
<div class="menuBg">
	<div class="menu">
		<div class="menu-l l_btn">
			<div class="all"><em></em>全部药品分类</div>
			<div class="popup me_Layer" style="<?php if($open_menu == true){ ?>display:block;<?php }else{ ?>display:none;<?php } ?>">
				<input type="hidden" id="isIndex" value="<if condition='$open_menu==true'>Y</if>">
                <foreach name="cat_list" key="cat_index"  item="cat_item">
                    <ul class="itemBox">
                        <li class="item <if condition='$cat_index%2!=0'>item2</if>">
                            <div class="icon">
                                <img src="__TMPL__Public/assets/images/icon<php>echo ($cat_index+2)</php>.png">
                            </div>
                            <!--链接-->
                            <div class="title"><a href="{:U('Product/list/index',array('tid'=>$cat_item['id']))}" title="感冒呼吸">{$cat_item.title}</a></div>
                        </li>
                    </ul>
                </foreach>

			</div>
		</div>
		<ul class="menu-m frameEdit" frameinfo="nav_link">
			<li><a <if condition="I('get.g') == 2">class="cur"</if> href="/">首页</a><em></em></li>
			<a <if condition="I('get.id') == 2">class="cur"</if> href="{:U('Product/Article/detail1',array('id'=>2))}" title="关于我们">关于我们</a>
			<a <if condition="I('get.id') == 3">class="cur"</if> href="{:U('Product/Article/detail1',array('id'=>3))}" title="联系我们">联系我们</a>
			<a <if condition="I('get.a') == 'information'">class="cur"</if>  href="{:U('Product/Article/information')}">资讯频道</a>
			<a <if condition="I('get.a') == 'summer'">class="cur"</if>  href="{:U('Product/Article/summer')}">夏季常用药</a>
			<a <if condition="I('get.a') == 'sheet'">class="cur"</if>  href="{:U('Product/Article/sheet')}">药品数据表【收费】</a>
		</ul>
		<div class="clear"></div>
	</div>
</div>